<%@ page language="java" contentType="text/html;charset=UTF-8"
   	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<link rel="stylesheet" href="css/loginstyle.css" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>User Registration</title>
<link rel="stylesheet" href="css/index.css">
<script type="text/javascript" src="javascript/MultiAction.js"></script>
</head>
<body class="body">
<table border="0" width="100%" height="100%" align="center">
	<tr height="100%" valign="middle" align="center">
		<td valign="middle">
			<form name="Registration" action="register.html" method="post" onsubmit="return validateForm()" >
			<table cellpadding="0" cellspacing="0" border="0" height="250" width="500">
				<tr><td colspan="2" height="40" class="RegisterHeader">&nbsp;</td></tr>
				<tr>
					<td class="registerImage" width="120">&nbsp;</td>
					<td width="330" class="loginContent" valign="top">
						<table cellpadding="0" border="0" class="registerContent" cellspacing="0" width="100%">
							<tr><td colspan="3" height="6"> </td></tr>
							<tr><td colspan="3" height="5"> </td></tr>
							<tr>
								<td colspan="3" class="loginText">សូមបំពេញនូវព័ត៌មានខាងក្រោមអោយបានត្រឹមត្រូវ</td>
							</tr>
							<tr><td colspan="3" height="10"> </td></tr>
							<tr>
								<td width="120" style="padding-left:15px">ឈ្មោះ </td>
								<td width="150"><input type="text" maxlength="200" name="fullname" id="fullname" class="loginBox"></td>
								<td width="60">&nbsp;</td>
							</tr>
							<tr><td colspan="3" height="5"> </td></tr>
							<tr>
								<td style="padding-left:15px">ឈ្មោះគណនី </td>
								<td><input type="text" name="userid" id="userid" class="loginBox" maxlength="50"></td>
								<td></td>
							</tr>
							<tr><td colspan="3" height="5"> </td></tr>
							<tr>
								<td style="padding-left:15px">ពាក្យសំងាត់ </td>
								<td><input type="password" name="password" id="password" class="loginBox" maxlength="15"></td></td>
								<td></td>
							</tr>
							<tr><td colspan="3" height="5"> </td></tr>
							<tr>
								<td style="padding-left:15px">បញ្ជាក់ពាក្យសំងាត់ </td>
								<td><input type="password" name="conpassword" id="conpassword" class="loginBox" maxlength="15"></td>
								<td></td>
							</tr>
							<tr><td colspan="3" height="5"> </td></tr>
							<tr>
								<td style="padding-left:15px">អ៊ីម៉ែលធនាគារជាតិ </td>
								<td><input type="text" name="mail" id="mail" maxlength="25" class="loginBox"></td>
								<td></td>
							</tr>
							<tr><td colspan="3" height="5"> </td></tr>
							<tr>
								<td style="padding-left:15px">នាយកដ្ឋាន </td>
								<td>
									<Select name="dpt" id="dpt" style="width:185px; height:24px;">
										<c:forEach var="y" begin="0" end="${fn:length(dpm)-1 }" step="1" varStatus="status">
												<option value="${dpm[y].DEPARTMENT_ID}">${dpm[y].DEPARTMENT_NAME}</option>
							            </c:forEach>	
						            </Select>
								</td>
								<td></td>
							</tr>
							<tr><td colspan="3" height="15"> </td></tr>
							<tr>
								<td></td>
								<td align="right"><input type="submit" value="ចុះឈ្មោះ"​ class="input_button"/>&nbsp;<input type="button" value="បោះបង់" class="input_button" onclick="window.location='login.html'"/></td>
								<td></td>
							</tr>
							<tr><td colspan="3" height="15"> <input type="hidden" name="hide" id="hide" value="${user}"></td></tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
		</td>
	</tr>
</table>



</body>
</html>